from django.conf.urls import url

from courses.views import MyDetailView
from org.views import MymessageView
from organization.views import TeacherDetailView

urlpatterns = [
    url(r'^mymessage/$', MymessageView.as_view(), name='mymessage'),
    url(r'^teacher_list/$', MymessageView.as_view(), name='teacher_list'),
    url(r'^org_list/$', MymessageView.as_view(), name='org_list'),
    url(r'^add_fav/$', MymessageView.as_view(), name='add_fav'),
    url(r'^org_home/(?P<course_detail>.*)/$', MymessageView.as_view(), name='org_home'),
    url(r'^teacher_detail/(.*)/$', TeacherDetailView.as_view(), name='teacher_detail'),  # 我的课程
]
